package cn.bdqn.mapper;

import cn.bdqn.pojo.Houseinfo;
import cn.bdqn.pojo.Housetype;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface HouseMapper {
    List<Houseinfo> sel();
    Integer ins(Houseinfo houseinfo);
    List<Housetype> housel();
    Houseinfo selinfo(@Param(value = "houseid") Integer houseid);
    Integer upd(Houseinfo houseinfo);
    Integer del(@Param(value = "houseid") Integer houseid);
    List<Houseinfo> houselz(@Param(value = "typeid")Integer typeid);
}
